package com.waitingresult.oop.interfce;

import com.waitingresult.oop.clazz.BaseAnimal;

/**
 * ALL right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @ClassName: Cat
 * @Description:
 * @date: 2021/10/31 19:08
 * @version: 1.0
 */

public class Cat extends BaseAnimal implements Animal {

    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
